var Ptr = document.getElementById("tab").getElementsByTagName("tr");
for ( var i = 0; i < Ptr.length; i++) {
	Ptr[i].onmouseover = function() {
		this.style.backgroundColor = "#FBEC88";
	};
	Ptr[i].onmouseout = function() {
		for (i = 1; i < Ptr.length + 1; i++) {
			// Ptr[i - 1].style.backgroundColor = (i % 2 > 0) ? "#FFFFCC" :
			// "#FF6666";
			Ptr[i - 1].style.backgroundColor = "#FFFFFF";
		}
	}
}